#ifndef Playlist_h
#define Playlist_h

#include "Audio.h"

/**
 * Classe Playlist, contient la liste des sons du jeu
 */
class Playlist
{
  public:
   enum TypeClic { CLIC_OK, CLIC_NOK, CLIC_SEA, NTYPECLIC };
   enum TypeVictory { NICEWORK, YES1, YES2, UNBELIEVABLE, NTYPEVICTORY };
   enum TypeDefeat { BYEBYE, EXCUSEME, NEXTIME, RIDICULOUS, NTYPEDEFEAT };

  public:

   Playlist();
   ~Playlist();

   void playIntroduction();
   void playClic(TypeClic _clic);
   void playVictory();
   void playDefeat();
   void playRoll();

  protected:

   void play_volatile(Source * song);
   void lecture();

  protected:
   
   Lecteur lecteur;
   Source * introduction; // "sons/intro.wav"
   Source * roll;
   Source * clics[NTYPECLIC];
   Source * victory[NTYPEVICTORY];
   Source * defeat[NTYPEDEFEAT];

};
#endif
